from django.db import models
from django.contrib.auth.models import AbstractUser

class UserPhone(AbstractUser):
    phone = models.IntegerField(blank=True,null=True)

    class Meta:
        db_table='user'
        verbose_name = u'用户手机号'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.username